* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    width: 100%;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.container {
    height: 200px;
    width: 20%;
    min-width: 120px;
    text-align: center;
    overflow: hidden;
    background-color: skyblue;
    position: relative;
}

.scroller {
    animation: scroll 10s linear infinite;
    position: absolute;
    width: 100%;
}


.container:hover .scroller {
    animation-play-state: paused;
}

@keyframes scroll {
    0% {
        transform: translateY(0);
    }

    100% {
        transform: translateY(-50%);
    }
}

li {
    height: 25px;
    line-height: 25px;
    list-style: none;
}